home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
doors_1
/
doordr50.zip
/
UNITINTR.ARJ
/
COMIO.INT
< prev
next >
Wrap
Text File
|
1992-02-02
|
805b
|
32 lines
unit comio;
{$V-,S-,R-}
interface
uses ddfossil, async;
procedure AsyncSelectPort(n: word);
procedure AsyncSendChar(ch: char);
procedure AsyncReceiveChar(var ch: char);
function AsyncCarrierPresent: boolean;
function AsyncCharPresent: boolean;
procedure AsyncSelectFossil;
procedure AsyncSelectInternal;
procedure AsyncCloseUp;
procedure AsyncSetBaud(n: word);
procedure AsyncSetDTR(state: boolean);
procedure AsyncFlushOutput;
procedure AsyncPurgeOutput;
procedure AsyncSendString(s: string);
procedure AsyncSetFlow(SoftTran,Hard,SoftRecv: boolean);
Procedure AsyncBufferStatus(var Insize,infree,outsize,outfree: word);
type
AsyncIoTypes=(Fossil,Internal,Bios);
var
AsyncIoType: AsyncIotypes;
comport: word;
initok: boolean;
internalinsize,internaloutsize: word;